﻿// =================================================================== 
// 项目说明
//====================================================================
// wup。@Copy Right 2014
// 文件： Applications.cs
// 项目名称：买车网
// 创建时间：2015/6/24
// 负责人：wup
// ===================================================================
using System;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ComponentModel;
namespace Weixin.Entity.ChinaTax
{
	/// <summary>
	///Applications数据实体
	/// </summary>
	[Serializable]
	[DataContract]
	public class ApplicationsEntity
	{
		#region 变量定义
		///<summary>
		///
		///</summary>
		private int _appId;
		///<summary>
		///
		///</summary>
		private string _courseName = String.Empty;
		///<summary>
		///
		///</summary>
		private int _courseId;
		///<summary>
		///
		///</summary>
		private string _name = String.Empty;
		///<summary>
		///
		///</summary>
		private int _sex;
		///<summary>
		///
		///</summary>
		private string _mobile = String.Empty;
		///<summary>
		///
		///</summary>
		private string _email = String.Empty;
		///<summary>
		///
		///</summary>
		private string _company = String.Empty;
		///<summary>
		///
		///</summary>
		private DateTime _createTime;
		///<summary>
		///
		///</summary>
		private string _userName = String.Empty;
		///<summary>
		///
		///</summary>
		private string _referee = String.Empty;
		///<summary>
		///
		///</summary>
		private int _userId;
		///<summary>
		///
		///</summary>
		private short _status;
		#endregion
		
		#region 构造函数

		///<summary>
		///
		///</summary>
		public ApplicationsEntity()
		{
		}
		///<summary>
		///
		///</summary>
		public ApplicationsEntity
		(
			int appId,
			string courseName,
			int courseId,
			string name,
			int sex,
			string mobile,
			string email,
			string company,
			DateTime createTime,
			string userName,
			string referee,
			int userId,
			short status
		)
		{
			_appId      = appId;
			_courseName = courseName;
			_courseId   = courseId;
			_name       = name;
			_sex        = sex;
			_mobile     = mobile;
			_email      = email;
			_company    = company;
			_createTime = createTime;
			_userName   = userName;
			_referee    = referee;
			_userId     = userId;
			_status     = status;
			
		}
		#endregion
		
		#region 公共属性

		
		///<summary>
		///
		///</summary>
		[DataMember]
		public int AppId
		{
			get {return _appId;}
			set {_appId = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string CourseName
		{
			get {return _courseName;}
			set {_courseName = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public int CourseId
		{
			get {return _courseId;}
			set {_courseId = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string Name
		{
			get {return _name;}
			set {_name = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public int Sex
		{
			get {return _sex;}
			set {_sex = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string Mobile
		{
			get {return _mobile;}
			set {_mobile = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string Email
		{
			get {return _email;}
			set {_email = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string Company
		{
			get {return _company;}
			set {_company = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public DateTime CreateTime
		{
			get {return _createTime;}
			set {_createTime = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string UserName
		{
			get {return _userName;}
			set {_userName = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string Referee
		{
			get {return _referee;}
			set {_referee = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public int UserId
		{
			get {return _userId;}
			set {_userId = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public short Status
		{
			get {return _status;}
			set {_status = value;}
		}
	
		#endregion
		
	}
}
